package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.GivenPublicNotice;
import com.youedata.modular.mapper.GivenPublicNoticeMapper;
import  com.youedata.modular.service.IGivenPublicNoticeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 通知公告表 服务实现类
 * </p>
 *
 * @author 炎之十月
 * @date 2021-08-06
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class GivenPublicNoticeServiceImpl extends ServiceImpl<GivenPublicNoticeMapper, GivenPublicNotice> implements IGivenPublicNoticeService {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private GivenPublicNoticeMapper givenPublicNoticeMapper;

    @Override
    public List queryFuzzySearch(Page page, GivenPublicNotice givenPublicNotice) {
        return  givenPublicNoticeMapper.queryFuzzySearch(page,givenPublicNotice);
    }
}

